<?php if(!empty($user)){?>
<div class="sebelumjud">
			<div class="jodol"><?php echo $user['NAMA']?> —Your Position</div>
        </div>
        <div class="clear"></div>
		<div id="minggu">          
			<div class="jobdesc2 enam">
                            <?php
                                if(!empty($position)){
                                    echo '<table border="0" cellspacing="0" cellpadding="0" id="melon">';
                                    for($i=0;$i<count($position);$i++){
                                        echo '<tr>
					<td class="jeruk">'.$position[$i]['NAMA_JABATAN'].'</td>
					<td><a href="'.base_url().'progress/progress_con/personal_pos_edit/'.$position[$i]['ID_JABATAN'].'/'.$position[$i]['ID_USER'].'/'.$position[$i]['ID_DIVISI'].'">Edit</a></td>
					<td><a onclick="return confirm(\'Apakah Anda yakin?\');" href="'.base_url().'progress/progress_con/personal_pos_delete/'.$position[$i]['ID_JABATAN'].'/'.$position[$i]['ID_USER'].'/'.$position[$i]['ID_DIVISI'].'">Delete</a></td>
                                        </tr>
                                        ';
                                        //echo '<li><a href="'.base_url().'progress/progress_con/personal_pos/'.$position[$i]['ID_USER'].'/'.$position[$i]['ID_DIVISI'].'">'.$position[$i]['NAMA_JABATAN'].'</a></li>';
                                    }
                                    echo '</table>';
                                }else{
                                    echo 'Posisi belum terisi.';
                                }
                            ?>

			</div>
			<div id="addpos" class="enam"><input onClick="location.href='<?php echo base_url().'progress/progress_con/personal_pos_add/'.$user['ID']?>'"  name="" type="button" class="send" value="Add Posisition" /></div>
			<div class="clear"></div>
		</div><!---end div minggu --->
		<div class="clear"></div>
                
        <?php }?>